import java.util.*;

public class Leetcode76 {
    public String minWindow(String s, String t) {

        if (s == null || s.length() == 0 || t == null || t.length() == 0) {
            return "";
        }
        LinkedList<Character> window = new LinkedList<>();
        int left = 0;
        int right = 0;
        Map<Character, Integer> map = new HashMap<>();
        for (int i = 0; i < t.length(); i++) {
            map.put(t.charAt(i),0);
        }

        for (int i = 0; i < s.length(); i++) {
            if (window.isEmpty()&&!map.containsKey(s.charAt(i))){
                continue;
            }
            window.add(s.charAt(i));
        }
        return "";
    }

}
